/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package estatistico.view;

import javax.swing.JMenu;
import javax.swing.JMenuItem;

/**
 *
 * @author vaio
 */
public class MainView extends javax.swing.JFrame {

    public JMenuItem getMnCadastrar() {
        return mnCadastrar;
    }

    /**
     * Creates new form MainView
     */
    public MainView() {
        initComponents();
    }

    public JMenu getJmPrincipal() {
        return jmPrincipal;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        mnCadastrar = new javax.swing.JMenuItem();
        jmPrincipal = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Estatístico");

        jMenu1.setText("Números");

        mnCadastrar.setText("Cadastrar");
        jMenu1.add(mnCadastrar);

        jMenuBar1.add(jMenu1);

        jmPrincipal.setText("Plugins");
        jMenuBar1.add(jmPrincipal);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 760, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 380, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    /**
     * @param args the command line arguments
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenu jmPrincipal;
    private javax.swing.JMenuItem mnCadastrar;
    // End of variables declaration//GEN-END:variables
}
